/*
 * $Id$
 *
 * Copyright (C) Paris8-IUT de Montreuil, 2012-2013
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */
package fr.paris8.iut.info.iddl.conf;

import java.net.URI;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Vector;
import java.util.LinkedList;

import org.semanticweb.owlapi.model.OWLObject;

public class GlobalEquivalentConcepts {
	//"key" of maps are Local Ontology Uris,  value lists contain URIs of local concepts and their description  
	private String     representative = null;
	private LinkedList equivs = null;
	//if the equivalence class is unsatisfiable, this attribute is set to "1", if non-empty it is set to 0, otherwise 2 
	private int    empty     = 1;
	
	public GlobalEquivalentConcepts(String p) {
		
		   equivs = new LinkedList ();
		   equivs.add(p);
		   representative = p;
	}
	
	public String getRepresentative() {
		   return representative;
	}
	
	public LinkedList getConcepts() {
		   return equivs;
	}
	
	public int getEmptyness() {
		   return empty;
	}
	
	public void setEmptiness(int e) {
		   empty = e;
	}
	
	public void addEquivConcept(String c) {
		   equivs.add(c);
	}
	
	 
}
